
// node for Priority que to sort in descending order of value
public class PQNodeDes extends PQNode {
	public PQNodeDes(int index, float value) {
		super(index, value);
	}

	public int compareTo(PQNode node) {
		if (mIndex == node.mIndex) 
			return 0;

		return (int)(node.mValue - mValue);  //may change this to node.mValue.compareTo(mValue)
	}	
}

